package lab02.Test26;

public class ExceptionTest {
    public static void main(String[] args) {
        try {
            int a = 10 / 0;

        } catch (ArithmeticException e) {
            System.out.println("除数为零");


        } finally {


            System.out.println("这是最终会执行的代码");
        }
    }
}